<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="https://code.google.com/p/rad-framework/taglib"
	xmlns:tt="https://code.google.com/p/rad-framework"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax">
	
	<table cellspacing="4" width="100%">
		<tr id="row" width="100%">
			<td id="left" align="left" width="10%" valign="top">
				<rich:panel style="width:192px" styleClass="rich-panel-action">
						<ui:insert name="menus">
							<ui:repeat value="#{page.menus}" var="menu">
								<tt:page-menu />
							</ui:repeat>
						</ui:insert>
				</rich:panel>
			</td>
			<td id="middle" align="center" width="60%" valign="top">
				<rich:panel style="width:100%">
					<f:facet name="header">#{page.label}</f:facet>

					<a4j:outputPanel ajaxRendered="true">
						<h:messages errorClass="rad-framework-msg-error"
							infoClass="rad-framework-msg-info"
							warnClass="rad-framework-msg-alert" globalOnly="true"/>

						<ui:insert name="content">Content...</ui:insert>
					</a4j:outputPanel>
				</rich:panel>
			</td>
			<td id="right" align="right" width="30%" valign="top">
				<h:panelGrid columns="1" cellpadding ="2" cellspacing="2" width="100%">
					<ui:insert name="navButtons">
						<tt:page-action />
					</ui:insert>
				</h:panelGrid>
			</td>
		</tr>
	</table>
	
</ui:composition>